package com.ruoyi.common.entity.VO.order;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderExportVO {
    private Long orderId;
    @Excel(name = "商品条码")
    private String productSkuCode;

    @Excel(name = "商品名称")
    private String productName;

    @Excel(name = "商品规格")
    private String productAttr;

    @Excel(name = "商品单价",width = 10)
    private String productSkuPrice;

    @Excel(name = "商品数量",width = 10)
    private String productQuantity;

    @Excel(name = "商品总价",width = 10)
    private String totalPrice;

    @Excel(name = "商品合计",width = 10)
    private String productCost;

    @Excel(name = "店铺名称",width = 20)
    private String shopName;

    @Excel(name = "订单编号", width = 25)
    private String orderSn;

    @Excel(name = "下单时间", width = 20, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date createTime;

    @Excel(name = "下单会员编号")
    private String memberSn;

    @Excel(name = "商品成本")
    private BigDecimal buyCost;

    @Excel(name = "快递费")
    private BigDecimal deliveryCost;

    @Excel(name = "订单总额")
    private BigDecimal orderCost;

    @Excel(name = "实付金额")
    private BigDecimal payCost;

    @Excel(name = "订单状态",readConverterExp="0=待付款,1=待发货,2=待收货,3=已完成,10=已取消")
    private String orderStatus;

    @Excel(name = "用户支付状态",readConverterExp="0=待支付,1=已支付,2=待退款,3=退款中,4=退款成功,5=退款成功,9=支付超时")
    private String payStatus;

    @Excel(name = "用户支付时间",width = 20, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date payTime;

    @Excel(name = "下货支付状态",readConverterExp="0=待支付,1=已支付,2=待退款,3=退款中,4=退款成功,5=退款成功,9=支付超时")
    private String shopPayStatus;

    @Excel(name = "下货支付时间",width = 20, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date shopPayTime;

    @Excel(name = "快递单号")
    private String deliveryNo;

    @Excel(name = "配送方式", width = 30)
    private String logisticsWay;

    @Excel(name = "快递公司")
    private String shipperName;

    @Excel(name = "快递单号")
    private String logisticsCode;

    @Excel(name = "收件人")
    private String receiver;

    @Excel(name = "收件人电话")
    private String receiverPhone;

    @Excel(name = "收件地址(省市区）", width = 20)
    private String receiveDistricts;

    @Excel(name = "收件地址(详细）", width = 40)
    private String receiveAddress;

    @Excel(name = "用户下单备注", width = 40)
    private String orderRemark;

    @Excel(name = "商家备注", width = 40)
    private String shopRemark;

    @Excel(name = "平台备注", width = 40)
    private String extraRemark;

    private String rewardRate;

    private BigDecimal rewardAmount;

}
